package com.aspose.cells;

class zec extends zbz {
   zec() {
      this.c(2171);
   }

   void a(zxt var1) {
      FormatCondition var2 = var1.a;
      byte var3 = 18;
      int var5 = var3 + 8;
      if (var1.c != null) {
         var5 += var1.c();
      }

      var5 += 17;
      this.a((short)var5);
      this.c = new byte[var5];
      this.c[0] = 123;
      this.c[1] = 8;
      byte var4 = 12;
      int var6 = var4 + 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1.e), 0, this.c, var6, 2);
      var6 += 2;
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1.b), 0, this.c, var6, 2);
      var6 += 2;
      this.c[var6] = zed.a(var2.getType() == 0 ? var2.getOperator() : 6);
      ++var6;
      this.c[var6] = (byte)zeb.a(var2);
      ++var6;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.getPriority()), 0, this.c, var6, 2);
      var6 += 2;
      this.c[var6] = 1;
      if (var2.getStopIfTrue()) {
         this.c[var6] = (byte)(this.c[var6] | 2);
      }

      ++var6;
      if (var1.c != null) {
         this.c[var6] = 1;
         ++var6;
         var6 = zeb.a(var1.d, var1.c, this.c, var6);
      } else {
         ++var6;
      }

      zeb.a(var2, this.c, var6);
   }

   void a(int var1) {
      this.b(18);
      this.c = new byte[this.d()];
      this.c[0] = 123;
      this.c[1] = 8;
      this.c[12] = 1;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1), 0, this.c, 16, 2);
   }
}
